<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript">
			//成功方法
			function success(msg,url){
				alert(msg);
				location.href = url;
			}
//			success('注册成功','http://www.xiongweiyang.com');

			//失败方法
			function error(msg){
				alert(msg);
				history.back();
			}
//			error('注册失败');
		</script>
	</head>
	<body>
		<button onclick="if(confirm('确定删除吗'))location.href='http://www.baidu.com'">删除</button>
	</body>
</html>
